/*
 * Created on 13 avr. 2005
 *
 */
package communication.pack;
import objects.Station;

/**
 * @author Equipe SimPack 2005
 * a HelloPackage is sent in the network at a fixed period of time
 * by each station in order inform it neighbors about its presence in the network
 * 
 */
public class HelloAODV extends SMPackage {

	   
	   
    /**
     * constructor of a HelloAODV
     * @param sender : the source Station
     * @param sn : the sequence number
     * @param hopCount the hop count
     * @param s the size of the package
     * @param ri the request number
     * @param t package lifespan
     */  
    
    public HelloAODV(Station sender,int sn, int hopCount, int ri,int t) {
	super(sender,sn, hopCount, ri, HELLOAODVSIZE,t);
	
    }
	
	
    /**
     * 
     */
    public HelloAODV(HelloAODV h){
	super(h);
    }
	
	
	
    /**
     * function toString
     */
    public String toString(){
	
	String s = this.infoPackage();
	String paquet = " paquet : HELLO AODV \n " + s ;
	return paquet;
    }

}
